package com.cy.store.service;

import com.cy.store.entity.Cart;
import com.cy.store.entity.vo.CartVO;

import java.util.List;

public interface ICartService {

    public void addCart(Cart cart,String username,Integer uid);

    public List<CartVO> findByUid(Integer uid);

    public Integer addNum(Integer cid,Integer uid,String username);

    public Integer reduceNum(Integer cid,Integer uid,String username);

    public List<CartVO> findVoByCid(Integer uid,Integer[] cids);

}
